_get_list_add_position

function _get_list_add_position(instance: instance, attribute: attribute, list_attrs: (K: attribute, V: attribute, I: attribute), pos: integer, elements: integer): integer